package com.eisula.sc.database;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

@Entity
@Table(name = "t_planificacion_familiar")
@Proxy(lazy = false)
public class PlanificacionFamiliar {

	private int id;
	private String tieneInformacion;

	private Persona personaId;

	// --------------------------------------------------------------------------------

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	// --------------------------------------------------------------------------------

	public String getTieneInformacion() {
		return tieneInformacion;
	}

	public void setTieneInformacion(String tieneInformacion) {
		this.tieneInformacion = tieneInformacion;
	}

	// --------------------------------------------------------------------------------

	@ManyToOne
	public Persona getPersonaId() {
		return personaId;
	}

	public void setPersonaId(Persona personaId) {
		this.personaId = personaId;
	}

	// --------------------------------------------------------------------------------

}
